import http from '@/plugins/aixos'
import { ProjModel } from '@/types/model'

export const findAllProj = (args = {}) => {
  const url =
    '/proj/' +
    Object.entries(args)
      .map(([key, value]) => {
        return `?${key}=${value}`
      })
      .join('&')
  return http.request<ProjModel[]>({
    url,
  })
}
